package com.jerry.DO;


import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Document
@Accessors(chain = true)
public class MetaFile {
    @Id
    private String fileName;
    private String fileType;
    private String nickName;
    private String extension;
    private String bucketName;
    private Integer totalChunk;
    private Long fileSize;
    private String type;
    private Boolean deleted;
    private String base64;
    private List<FileChunkMeta> fileChunkMetas;
    private LocalDateTime uploadTime;
}
